package com.cn.kabalifeuser.ui.service.bean;

import java.util.List;

/**
 * Created by 晓林 on 2020/9/15.
 * function:
 */
public class ShopInfoBean {


    /**
     * code : 200
     * result : {"id":5,"title":"小菜刀","phone":"1593949555","is_pass":2,"status":1,"lon":"120.114198","lat":"30.305881","fraction":"4.5","address_info":"浙江省杭州市拱墅区四季青街道都市阳光乐苑","province_info":"浙江省","city_info":"杭州市","area_info":"拱墅区","street_info":"四季青街道","info":"或甲方收到来法师坑到家了<p>去问问去二期<img src=\"http://img.t.sinajs.cn/t4/appstyle/expression/ext/normal/40/pcmoren_tian_org.png\" alt=\"[舔屏]\" data-w-e=\"1\"><\/p>","img":["http://oss-fang.xiaoxiucai.xyz/banner/1598260787WEQ0Y5.png","http://oss-fang.xiaoxiucai.xyz/banner/1598260787WEQ0Y5.png"],"cover":"http://oss-fang.xiaoxiucai.xyz/good/1598495765yx1aT6.png","service_type":[{"id":3,"title":"客厅"},{"id":4,"title":"餐厅"}],"juli":"","comment":[{"id":2,"uid":1,"business_id":5,"content":"wdsa","fraction":"5.0","type":2,"service_type":3,"img":["http://oss-fang.xiaoxiucai.xyz/banner/1598260787WEQ0Y5.png","http://oss-fang.xiaoxiucai.xyz/banner/1598260787WEQ0Y5.png"],"status":1,"created_at":"2020-08-27 14:41:11","updated_at":"2020-09-04 14:28:03","user":{"id":1,"nickname":"小菜刀","head":"http://oss-fang.xiaoxiucai.xyz/user/1598259228WUHyw2.png"},"category":"客厅"},{"id":1,"uid":1,"business_id":5,"content":"ertsfgsdfs","fraction":"4.0","type":1,"service_type":4,"img":["http://oss-fang.xiaoxiucai.xyz/banner/1598260787WEQ0Y5.png","http://oss-fang.xiaoxiucai.xyz/banner/1598260787WEQ0Y5.png"],"status":1,"created_at":"2020-08-27 14:32:51","updated_at":"2020-09-04 14:25:09","user":{"id":1,"nickname":"小菜刀","head":"http://oss-fang.xiaoxiucai.xyz/user/1598259228WUHyw2.png"},"category":"餐厅"}]}
     * msg : OK
     */

    private int code;
    private ResultBean result;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class ResultBean {
        /**
         * id : 5
         * title : 小菜刀
         * phone : 1593949555
         * is_pass : 2
         * status : 1
         * lon : 120.114198
         * lat : 30.305881
         * fraction : 4.5
         * address_info : 浙江省杭州市拱墅区四季青街道都市阳光乐苑
         * province_info : 浙江省
         * city_info : 杭州市
         * area_info : 拱墅区
         * street_info : 四季青街道
         * info : 或甲方收到来法师坑到家了<p>去问问去二期<img src="http://img.t.sinajs.cn/t4/appstyle/expression/ext/normal/40/pcmoren_tian_org.png" alt="[舔屏]" data-w-e="1"></p>
         * img : ["http://oss-fang.xiaoxiucai.xyz/banner/1598260787WEQ0Y5.png","http://oss-fang.xiaoxiucai.xyz/banner/1598260787WEQ0Y5.png"]
         * cover : http://oss-fang.xiaoxiucai.xyz/good/1598495765yx1aT6.png
         * service_type : [{"id":3,"title":"客厅"},{"id":4,"title":"餐厅"}]
         * juli :
         * comment : [{"id":2,"uid":1,"business_id":5,"content":"wdsa","fraction":"5.0","type":2,"service_type":3,"img":["http://oss-fang.xiaoxiucai.xyz/banner/1598260787WEQ0Y5.png","http://oss-fang.xiaoxiucai.xyz/banner/1598260787WEQ0Y5.png"],"status":1,"created_at":"2020-08-27 14:41:11","updated_at":"2020-09-04 14:28:03","user":{"id":1,"nickname":"小菜刀","head":"http://oss-fang.xiaoxiucai.xyz/user/1598259228WUHyw2.png"},"category":"客厅"},{"id":1,"uid":1,"business_id":5,"content":"ertsfgsdfs","fraction":"4.0","type":1,"service_type":4,"img":["http://oss-fang.xiaoxiucai.xyz/banner/1598260787WEQ0Y5.png","http://oss-fang.xiaoxiucai.xyz/banner/1598260787WEQ0Y5.png"],"status":1,"created_at":"2020-08-27 14:32:51","updated_at":"2020-09-04 14:25:09","user":{"id":1,"nickname":"小菜刀","head":"http://oss-fang.xiaoxiucai.xyz/user/1598259228WUHyw2.png"},"category":"餐厅"}]
         */

        private int id;
        private String title;
        private String phone;
        private int is_pass;
        private int status;
        private String lon;
        private String lat;
        private String fraction;
        private String address_info;
        private String province_info;
        private String city_info;
        private String area_info;
        private String street_info;
        private String info;
        private String cover;
        private String juli;
        private List<String> img;
        private List<ServiceTypeBean> service_type;
        private List<CommentBean> comment;


        private String order_count;

        public String getOrder_count() {
            return order_count;
        }
        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public int getIs_pass() {
            return is_pass;
        }

        public void setIs_pass(int is_pass) {
            this.is_pass = is_pass;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getLon() {
            return lon;
        }

        public void setLon(String lon) {
            this.lon = lon;
        }

        public String getLat() {
            return lat;
        }

        public void setLat(String lat) {
            this.lat = lat;
        }

        public String getFraction() {
            return fraction;
        }

        public void setFraction(String fraction) {
            this.fraction = fraction;
        }

        public String getAddress_info() {
            return address_info;
        }

        public void setAddress_info(String address_info) {
            this.address_info = address_info;
        }

        public String getProvince_info() {
            return province_info;
        }

        public void setProvince_info(String province_info) {
            this.province_info = province_info;
        }

        public String getCity_info() {
            return city_info;
        }

        public void setCity_info(String city_info) {
            this.city_info = city_info;
        }

        public String getArea_info() {
            return area_info;
        }

        public void setArea_info(String area_info) {
            this.area_info = area_info;
        }

        public String getStreet_info() {
            return street_info;
        }

        public void setStreet_info(String street_info) {
            this.street_info = street_info;
        }

        public String getInfo() {
            return info;
        }

        public void setInfo(String info) {
            this.info = info;
        }

        public String getCover() {
            return cover;
        }

        public void setCover(String cover) {
            this.cover = cover;
        }

        public String getJuli() {
            return juli;
        }

        public void setJuli(String juli) {
            this.juli = juli;
        }

        public List<String> getImg() {
            return img;
        }

        public void setImg(List<String> img) {
            this.img = img;
        }

        public List<ServiceTypeBean> getService_type() {
            return service_type;
        }

        public void setService_type(List<ServiceTypeBean> service_type) {
            this.service_type = service_type;
        }

        public List<CommentBean> getComment() {
            return comment;
        }

        public void setComment(List<CommentBean> comment) {
            this.comment = comment;
        }

        public static class ServiceTypeBean {
            /**
             * id : 3
             * title : 客厅
             */

            private int id;
            private String title;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }
        }

        public static class CommentBean {
            /**
             * id : 2
             * uid : 1
             * business_id : 5
             * content : wdsa
             * fraction : 5.0
             * type : 2
             * service_type : 3
             * img : ["http://oss-fang.xiaoxiucai.xyz/banner/1598260787WEQ0Y5.png","http://oss-fang.xiaoxiucai.xyz/banner/1598260787WEQ0Y5.png"]
             * status : 1
             * created_at : 2020-08-27 14:41:11
             * updated_at : 2020-09-04 14:28:03
             * user : {"id":1,"nickname":"小菜刀","head":"http://oss-fang.xiaoxiucai.xyz/user/1598259228WUHyw2.png"}
             * category : 客厅
             */

            private int id;
            private int uid;
            private int business_id;
            private String content;
            private String fraction;
            private int type;
            private int service_type;
            private int status;
            private String created_at;
            private String updated_at;
            private UserBean user;
            private String category;
            private List<String> img;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getUid() {
                return uid;
            }

            public void setUid(int uid) {
                this.uid = uid;
            }

            public int getBusiness_id() {
                return business_id;
            }

            public void setBusiness_id(int business_id) {
                this.business_id = business_id;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getFraction() {
                return fraction;
            }

            public void setFraction(String fraction) {
                this.fraction = fraction;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public int getService_type() {
                return service_type;
            }

            public void setService_type(int service_type) {
                this.service_type = service_type;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public String getCreated_at() {
                return created_at;
            }

            public void setCreated_at(String created_at) {
                this.created_at = created_at;
            }

            public String getUpdated_at() {
                return updated_at;
            }

            public void setUpdated_at(String updated_at) {
                this.updated_at = updated_at;
            }

            public UserBean getUser() {
                return user;
            }

            public void setUser(UserBean user) {
                this.user = user;
            }

            public String getCategory() {
                return category;
            }

            public void setCategory(String category) {
                this.category = category;
            }

            public List<String> getImg() {
                return img;
            }

            public void setImg(List<String> img) {
                this.img = img;
            }

            public static class UserBean {
                /**
                 * id : 1
                 * nickname : 小菜刀
                 * head : http://oss-fang.xiaoxiucai.xyz/user/1598259228WUHyw2.png
                 */

                private int id;
                private String nickname;
                private String head;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public String getNickname() {
                    return nickname;
                }

                public void setNickname(String nickname) {
                    this.nickname = nickname;
                }

                public String getHead() {
                    return head;
                }

                public void setHead(String head) {
                    this.head = head;
                }
            }
        }
    }
}
